package com.ruoyi.develop.goodsScalaAll.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售信息管理明细对象 goods_scala_all
 *
 * @author qh
 * @date 2024-07-29
 */
public class GoodsScalaAll extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 销售类别 (1:零散销售; 2:项目销售) */
    @Excel(name = "销售类别 (1:零散销售; 2:项目销售)")
    private String type;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品品牌 */
    @Excel(name = "商品品牌")
    private String goodsBrand;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal goodsUnitPrice;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private BigDecimal goodsCount;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal goodsTotalPrice;

    /** 成本单价 */
    @Excel(name = "成本单价")
    private BigDecimal goodsBuyPrice;

    /** 成本金额 */
    @Excel(name = "成本金额")
    private BigDecimal goodsBuyTotal;

    /** 销售利润 */
    @Excel(name = "销售利润")
    private BigDecimal goodsProfit;

    /** 销售日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saleDate;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 客户 */
    @Excel(name = "客户")
    private String customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 是否开票 */
    @Excel(name = "是否开票")
    private String invoice;

    /** 发票id */
    @Excel(name = "发票id")
    private String invoiceId;

    /** 发票编号 */
    @Excel(name = "发票编号")
    private String invoiceNo;

    /** 是否回款 */
    @Excel(name = "是否回款")
    private String fundCallback;

    /** 是否打印签收单 */
    @Excel(name = "是否打印签收单")
    private String receipt;

    /** 销售人 */
    @Excel(name = "销售人")
    private String saleId;

    /** 销售人姓名 */
    @Excel(name = "销售人姓名")
    private String saleName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "项目编号")
    private String projectId;

    /** $column.columnComment */
    @Excel(name = "项目名称")
    private String projectName;

    /** $column.columnComment */
    @Excel(name = "项目状态")
    private String status;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private BigDecimal counts;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private BigDecimal shengyu;

    /** 是否发货 */
    @Excel(name = "是否发货")
    private String isfahuo;

    /** 发货时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fahuoDate;

    /** 回款时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "回款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date huikuanDate;

    private String code;
    private String mainId;

    private String goodModel;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date zhijianDate;
    private String zhijiaName;
    private String isZhijian;
    private String projectNo;

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public Date getZhijianDate() {
        return zhijianDate;
    }

    public void setZhijianDate(Date zhijianDate) {
        this.zhijianDate = zhijianDate;
    }

    public String getZhijiaName() {
        return zhijiaName;
    }

    public void setZhijiaName(String zhijiaName) {
        this.zhijiaName = zhijiaName;
    }

    public String getIsZhijian() {
        return isZhijian;
    }

    public void setIsZhijian(String isZhijian) {
        this.isZhijian = isZhijian;
    }

    public String getGoodModel() {
        return goodModel;
    }

    public void setGoodModel(String goodModel) {
        this.goodModel = goodModel;
    }

    public String getMainId() {
        return mainId;
    }

    public void setMainId(String mainId) {
        this.mainId = mainId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setGoodsId(String goodsId)
            {
            this.goodsId = goodsId;
            }

    public String getGoodsId()
            {
            return goodsId;
            }
    public void setGoodsName(String goodsName)
            {
            this.goodsName = goodsName;
            }

    public String getGoodsName()
            {
            return goodsName;
            }
    public void setGoodsBrand(String goodsBrand)
            {
            this.goodsBrand = goodsBrand;
            }

    public String getGoodsBrand()
            {
            return goodsBrand;
            }
    public void setGoodsUnitPrice(BigDecimal goodsUnitPrice)
            {
            this.goodsUnitPrice = goodsUnitPrice;
            }

    public BigDecimal getGoodsUnitPrice()
            {
            return goodsUnitPrice;
            }
    public void setGoodsCount(BigDecimal goodsCount)
            {
            this.goodsCount = goodsCount;
            }

    public BigDecimal getGoodsCount()
            {
            return goodsCount;
            }
    public void setGoodsTotalPrice(BigDecimal goodsTotalPrice)
            {
            this.goodsTotalPrice = goodsTotalPrice;
            }

    public BigDecimal getGoodsTotalPrice()
            {
            return goodsTotalPrice;
            }
    public void setGoodsBuyPrice(BigDecimal goodsBuyPrice)
            {
            this.goodsBuyPrice = goodsBuyPrice;
            }

    public BigDecimal getGoodsBuyPrice()
            {
            return goodsBuyPrice;
            }
    public void setGoodsBuyTotal(BigDecimal goodsBuyTotal)
            {
            this.goodsBuyTotal = goodsBuyTotal;
            }

    public BigDecimal getGoodsBuyTotal()
            {
            return goodsBuyTotal;
            }
    public void setGoodsProfit(BigDecimal goodsProfit)
            {
            this.goodsProfit = goodsProfit;
            }

    public BigDecimal getGoodsProfit()
            {
            return goodsProfit;
            }
    public void setSaleDate(Date saleDate)
            {
            this.saleDate = saleDate;
            }

    public Date getSaleDate()
            {
            return saleDate;
            }
    public void setSupplierId(String supplierId)
            {
            this.supplierId = supplierId;
            }

    public String getSupplierId()
            {
            return supplierId;
            }
    public void setSupplierName(String supplierName)
            {
            this.supplierName = supplierName;
            }

    public String getSupplierName()
            {
            return supplierName;
            }
    public void setCustomerId(String customerId)
            {
            this.customerId = customerId;
            }

    public String getCustomerId()
            {
            return customerId;
            }
    public void setCustomerName(String customerName)
            {
            this.customerName = customerName;
            }

    public String getCustomerName()
            {
            return customerName;
            }
    public void setInvoice(String invoice)
            {
            this.invoice = invoice;
            }

    public String getInvoice()
            {
            return invoice;
            }
    public void setInvoiceId(String invoiceId)
            {
            this.invoiceId = invoiceId;
            }

    public String getInvoiceId()
            {
            return invoiceId;
            }
    public void setInvoiceNo(String invoiceNo)
            {
            this.invoiceNo = invoiceNo;
            }

    public String getInvoiceNo()
            {
            return invoiceNo;
            }
    public void setFundCallback(String fundCallback)
            {
            this.fundCallback = fundCallback;
            }

    public String getFundCallback()
            {
            return fundCallback;
            }
    public void setReceipt(String receipt)
            {
            this.receipt = receipt;
            }

    public String getReceipt()
            {
            return receipt;
            }
    public void setSaleId(String saleId)
            {
            this.saleId = saleId;
            }

    public String getSaleId()
            {
            return saleId;
            }
    public void setSaleName(String saleName)
            {
            this.saleName = saleName;
            }

    public String getSaleName()
            {
            return saleName;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setProjectName(String projectName)
            {
            this.projectName = projectName;
            }

    public String getProjectName()
            {
            return projectName;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDeptId(String deptId)
            {
            this.deptId = deptId;
            }

    public String getDeptId()
            {
            return deptId;
            }
    public void setDeptName(String deptName)
            {
            this.deptName = deptName;
            }

    public String getDeptName()
            {
            return deptName;
            }
    public void setCounts(BigDecimal counts)
            {
            this.counts = counts;
            }

    public BigDecimal getCounts()
            {
            return counts;
            }
    public void setShengyu(BigDecimal shengyu)
            {
            this.shengyu = shengyu;
            }

    public BigDecimal getShengyu()
            {
            return shengyu;
            }
    public void setIsfahuo(String isfahuo)
            {
            this.isfahuo = isfahuo;
            }

    public String getIsfahuo()
            {
            return isfahuo;
            }
    public void setFahuoDate(Date fahuoDate)
            {
            this.fahuoDate = fahuoDate;
            }

    public Date getFahuoDate()
            {
            return fahuoDate;
            }
    public void setHuikuanDate(Date huikuanDate)
            {
            this.huikuanDate = huikuanDate;
            }

    public Date getHuikuanDate()
            {
            return huikuanDate;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("type",getType())
            .append("goodsId",getGoodsId())
            .append("goodsName",getGoodsName())
            .append("goodsBrand",getGoodsBrand())
            .append("goodsUnitPrice",getGoodsUnitPrice())
            .append("goodsCount",getGoodsCount())
            .append("goodsTotalPrice",getGoodsTotalPrice())
            .append("goodsBuyPrice",getGoodsBuyPrice())
            .append("goodsBuyTotal",getGoodsBuyTotal())
            .append("goodsProfit",getGoodsProfit())
            .append("saleDate",getSaleDate())
            .append("supplierId",getSupplierId())
            .append("supplierName",getSupplierName())
            .append("customerId",getCustomerId())
            .append("customerName",getCustomerName())
            .append("invoice",getInvoice())
            .append("invoiceId",getInvoiceId())
            .append("invoiceNo",getInvoiceNo())
            .append("fundCallback",getFundCallback())
            .append("receipt",getReceipt())
            .append("saleId",getSaleId())
            .append("saleName",getSaleName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("projectId",getProjectId())
            .append("projectName",getProjectName())
            .append("status",getStatus())
            .append("deptId",getDeptId())
            .append("deptName",getDeptName())
            .append("counts",getCounts())
            .append("shengyu",getShengyu())
            .append("isfahuo",getIsfahuo())
            .append("fahuoDate",getFahuoDate())
            .append("huikuanDate",getHuikuanDate())
        .toString();
    }
}
